﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ImageProcessing.Forms
{
    public partial class AboutForm : Form
    {
        int count = 0;
        public AboutForm()
        {
            InitializeComponent();
            polalabel.Visible = false;
            sheriflabl.Visible = false;
            ehabLabl.Visible = false;
            //timer1.Interval = 1000;
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void label1_DragEnter(object sender, DragEventArgs e)
        {

        }

        private void label1_MouseEnter(object sender, EventArgs e)
        {
            this.label1.ForeColor = Color.DeepPink;
        }

        private void label1_MouseLeave(object sender, EventArgs e)
        {
            this.label1.ForeColor = Color.White;
        }

        private void pictureBox1_MouseEnter(object sender, EventArgs e)
        {
            this.sheriflabl.Visible = true;
            this.sheriflabl.ForeColor = Color.DeepPink;
        }

        private void pictureBox1_MouseLeave(object sender, EventArgs e)
        {
            sheriflabl.Visible = false;
        }

        private void pictureBox3_MouseEnter(object sender, EventArgs e)
        {
            this.polalabel.Visible = true;
            this.polalabel.ForeColor = Color.DeepPink;
        }

        private void pictureBox3_MouseLeave(object sender, EventArgs e)
        {
            this.polalabel.Visible = false;
        }

        private void pictureBox2_MouseLeave(object sender, EventArgs e)
        {
            ehabLabl.Visible = false;
        }

        private void pictureBox2_MouseEnter(object sender, EventArgs e)
        {
            this.ehabLabl.Visible = true;
            this.ehabLabl.ForeColor = Color.DeepPink;
        }

        private void timer1_Tick(object sender, EventArgs e)
        {

        }

        private void AboutForm_Deactivate(object sender, EventArgs e)
        {
            this.Close();
        }

        private void AboutForm_Load(object sender, EventArgs e)
        {
            //timer1.Start();
        //    ((Label)this.Controls[0]).ForeColor = Color.White;
          //  ((Label)this.Controls[1]).ForeColor = Color.White;
            //((Label)this.Controls[2]).ForeColor = Color.White;
            //((Label)this.Controls[3]).ForeColor = Color.White;
            this.sheriflabl.ForeColor = Color.White;
            this.ehabLabl.ForeColor = Color.White;
            this.polalabel.ForeColor = Color.White;

        }
    }
}
